<?php

class unsupported_browser extends Page {
	public $page_title = 'Mit nézel? &bull; Nem támogatott böngésző';
	public $layout = "unsupported_browser_page";
	
	public function load(){
		$this->html->name = 'unsupbrowser';
		$this->html->cache = false;
		$this->html->link("unsupported_browser");

		switch(request_var('form-name', false))
		{
			case "unsupported":
				if($data = request_var('unsupported', false, 'array'))
				{
					if(intval($data['remember']) == 1)
						setcookie('sc_unsupported_not_show', 1, strtotime("+1 year"));
					else
						setcookie('sc_unsupported_not_show', 1);
					redirect("/");
				}
			break;
		}
	}
}

?>